package com.jeffdouglas.cucumberroll.client;

import com.google.gwt.core.client.GWT;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.Hidden;
import com.google.gwt.user.client.ui.Widget;

public class MyPanel extends Composite {

	private static MyPanelUiBinder uiBinder = GWT.create(MyPanelUiBinder.class);

	interface MyPanelUiBinder extends UiBinder<Widget, MyPanel> {
	}

	@UiField(provided=true) final Hidden myField = new Hidden();
 
	public MyPanel(String someText) {
		//Hidden myField = new Hidden();
		this.myField.setValue(someText);
		initWidget(uiBinder.createAndBindUi(this));
	}

}
